package com.example.his.api.mis.service;

import com.example.his.api.common.PageUtils;
import com.example.his.api.db.pojo.GoodsEntiy;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface GoodsService {
  public PageUtils searchByPage(Map param);
  
  public long searchCount(Map param);
  
  public String uploadImage(MultipartFile file);
  
  public int insert(GoodsEntiy goodsEntiy);
  
  public HashMap searchById(int id);
  
  public int update(GoodsEntiy goodsEntiy);
  
  void updateCheckup(int id, MultipartFile file);
  
  public boolean updateStatus(Map param);
  
  public int deleteByIds(Integer[] ids);
}
